const users = require("../sql/users");
const sql = require('../sql/mysql');
const jwt = require("jsonwebtoken");

module.exports = (req,res)=>{
    sql.remove(users,{_id:req.fields._id}).then(()=>{
       res.send({
          code:0,
          msg:"删除成功"
       })
    })
 }